package de.hhbk.azubiverwaltung.dao.beans;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public abstract class GenericDao{

	protected static EntityManager manager;
	
	public GenericDao()
	{
		EntityManagerFactory factory = Persistence.createEntityManagerFactory( "AzubiVerwaltung" );
		manager = factory.createEntityManager();
	}
}
